@echo off


echo This will install a full clean version of the ICNET Router. 
echo Do not use if you already have installed the ICNET Router.
echo.
echo (Please run CompatibilityChecker.bat first to see if the server is compatible.)
echo.
SET /P ANSWER=Do you want to run the ICNET Router Installer (y/n)?
echo You chose: %ANSWER%
if /i {%ANSWER%}=={y} (goto :yes)
if /i {%ANSWER%}=={yes} (goto :yes)
goto :no
:yes
echo Installing...
%windir%\system32\windowspowershell\v1.0\powershell.exe bin\Install.ps1 | util\tee\tee.exe InstallerLog.txt
pause
exit 

:no
echo Not installing
pause
exit 



